						<div class="page-header">
							<h1>
								Novedades
								<small>
									<i class="icon-double-angle-right">&#32;</i>
									Rotator
								</small>
							</h1>
						</div>								
						<div class="row">
							<div class="col-xs-12">
								<!-- PAGE CONTENT BEGINS -->
							<?php if(isset($message)) { ?>
								<h4 class="text-success">
									<i class="icon-ok"></i>
									<?php echo $message; ?>
								</h4>
							<?php } ?>
								<p><a class="btn btn-success" href="<?php echo site_url('admin/novedades/rotator_registro/'.$row->id); ?>"><i class="icon-plus">&#32;</i>Agregar</a></p>
								<div class="row">
									<div class="col-xs-12">
										<div class="table-header">
											Resultados para "<?php echo $row->name; ?>"
										</div>
										<div class="table-responsive">
											<table id="table-novedades-rotator" class="table table-striped table-bordered table-hover">
												<thead>
													<tr>
														<th>Foto</th>
														<th>Acciones</th>
													</tr>
												</thead>

												<tbody>
													<?php foreach($result as $row) { ?>
													<tr>
														<!-- foto -->
														<td class="center">
															<img src="<?php echo base_url($row->url); ?>" width="256" alt="" />
														</td>
														<!-- acciones -->
														<td>
															<div class="action-buttons">
																<a target="_blank" class="blue" title="Vista previa" href="<?php echo site_url('novedades/detalle/'.$row->id_novedad); ?>">
																	<i class="icon-zoom-in bigger-130"></i>
																</a>

																<a class="green" title="Editar" href="<?php echo site_url('admin/novedades/rotator_registro/'.$row->id_novedad.'/'.$row->id); ?>">
																	<i class="icon-pencil bigger-130"></i>
																</a>

																<a class="red" title="Eliminar" href="#" data-delete="<?php echo site_url('admin/novedades/rotator_eliminar/'.$row->id); ?>">
																	<i class="icon-trash bigger-130"></i>
																</a>
															</div>
														</td>
													</tr>
													<?php } ?>												
												</tbody>
											</table>
										</div>
									</div>
								</div>												
								<!-- PAGE CONTENT ENDS -->
							</div><!-- /.col -->
						</div><!-- /.row -->